package com.css.prompt.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.css.prompt.sdk.service.AITestAgenterApiClient;

@Service
public class SdkDemoService {
	
    @Autowired
    private AITestAgenterApiClient aITestAgenterApiClient;

    public String callGenerateTestScript(String engine, String input) {
        return aITestAgenterApiClient.generateTestScript(engine, input);
    }

    public String callValidateRobot(String content) {
        return aITestAgenterApiClient.validateRobot(content);
    }
} 